package com.yfp.device.mapper;

import com.yfp.device.domain.MachineDebugLog;
import com.yfp.device.domain.MachineDebugLogExample;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface MachineDebugLogMapper {
    long countByExample(MachineDebugLogExample example);

    int deleteByExample(MachineDebugLogExample example);

    int deleteByPrimaryKey(String machineId);

    int insert(MachineDebugLog record);

    int insertSelective(MachineDebugLog record);

    List<MachineDebugLog> selectByExample(MachineDebugLogExample example);

    MachineDebugLog selectByPrimaryKey(String machineId);

    int updateByExampleSelective(@Param("record") MachineDebugLog record, @Param("example") MachineDebugLogExample example);

    int updateByExample(@Param("record") MachineDebugLog record, @Param("example") MachineDebugLogExample example);

    int updateByPrimaryKeySelective(MachineDebugLog record);

    int updateByPrimaryKey(MachineDebugLog record);

    List<MachineDebugLog> selectByMachineSnAndTime(@Param("machineSn") String machineSn, @Param("beginTime") Date beginTime, @Param("endTime") Date endTime);

}